/*
* Copyright (c) 2016 ShopJsp. All Rights Reserved.
 * ============================================================================
 * 版权所有 2011 - 今 北京华宇盈通科技有限公司，并保留所有权利。
 * ----------------------------------------------------------------------------
 * 提示：在未取得SHOPJSP商业授权之前，您不能将本软件应用于商业用途，否则SHOPJSP将保留追究的权力。
 * ----------------------------------------------------------------------------
 * 官方网站：http://www.shopjsp.com
 * ============================================================================
*/
package com.hyyt.shopjsp.util.exception;

import org.apache.log4j.Logger;
import org.springframework.dao.DataAccessException;

/**
 * TokenException token重复提交表单异常类
 *
 * @author
 */
public class TokenException extends DataAccessException {
    private static final long serialVersionUID = 1L;
    /**
     * 加载日志
     */
    private static final Logger logger = Logger.getLogger(TokenException.class);

    public TokenException(String msg) {
        super(msg);
        logger.error(msg);
    }

    public TokenException(String msg, Throwable cause) {
        super(msg, cause);
        logger.error(msg, cause);
    }

}
